import Vant from "vant";
import "vant/lib/index.css";
import i18n from "@/locale";
import MixinPlugin from "./mixin.plugin";
import MethodPlugin from "./method.plugin";

const importPlugin = Vue => {
  //引入语言包
  Vue.use(i18n);
  //引入全局方法
  Vue.use(MethodPlugin);
  //引入全局插件
  Vue.use(MixinPlugin);
};

export default importPlugin;
